package com.purchase.ml.mapper.dealer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.purchase.ml.bean.req.dealer.SysDealerNewDto;
import com.purchase.ml.entity.acc.SysUser;
import com.purchase.ml.entity.dealer.SysAddr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface SysAddrMapper extends BaseMapper<SysAddr> {
    /**
     * @description    :some description
     * @author         :zxm
     * @date           :2021/4/7 18:06
     * @param          :[sysAddrId]
     * @return         :com.purchase.ml.entity.dealer.SysAddr
    **/
    @Select("select * from sys_addr where addr_id = #{sysAddrId}")
    SysAddr findAddrByAddrId(@Param("sysAddrId") Long sysAddrId);
}
